package com.itxiao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (CartItem)表实体类
 *
 * @author makejava
 * @since 2025-10-12 17:07:25
 */
@Data
@TableName("cart_item")
@AllArgsConstructor
@NoArgsConstructor
public class CartItem {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //店铺id
    private Long shopId;
    //spu_id
    private Long spuId;
    //sku_id
    private Long skuId;
    //用户id
    private Long userId;
    //购买数量
    private Integer quantity;
    //创建时间
    private Date createTime;
    //最后更新时间
    private Date updateTime;
}
